package com.example.demo.pattern.state;

import org.apache.poi.ss.formula.functions.T;
import org.springframework.stereotype.Component;

/**
 * @program: demo
 * @description: 结束状态
 * @author: yby
 * @create: 2020-06-22 15:59
 **/
@Component
public class EndState implements OrderState {


    @Override
    public Object handle() {
        System.out.println("订单结束。。。");
        return "订单结束...";
    }
}
